﻿def brushSizeSlider_IndexChanged(s, e):
    Engine['Bottom'].GetChild('brushSizeVal').Text = e.NewIndex.ToString()
    Engine['workbench'].BrushSize = e.NewIndex
    
def TextureSlider_IndexChanged(s, e):
    Engine['Bottom'].GetChild('TexturesListBox').ItemIndex = e.NewIndex


def brushDensitySlider_IndexChanged(s, e):
    Engine['Bottom'].GetChild('brushDensityVal').Text = e.NewIndex.ToString()
    Engine['workbench'].BrushAlpha = e.NewIndex